package com.ruoyi.blog.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章标签关联业务对象 blog_article_label_ref
 *
 * @author zhutianyu
 * @date 2021-08-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("文章标签关联业务对象")
public class BlogArticleLabelRefBo extends BaseEntity {

    /**
     * ID
     */
	@ApiModelProperty("ID")
    private String id;

    /**
     * 文章ID
     */
	@ApiModelProperty("文章ID")
    @NotNull(message = "文章ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String articleId;

    /**
     * 标签ID
     */
	@ApiModelProperty("标签ID")
    @NotNull(message = "标签ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String labelId;


    /**
     * 分页大小
     */
    @ApiModelProperty("分页大小")
    private Integer pageSize;

    /**
     * 当前页数
     */
    @ApiModelProperty("当前页数")
    private Integer pageNum;

    /**
     * 排序列
     */
    @ApiModelProperty("排序列")
    private String orderByColumn;

    /**
     * 排序的方向desc或者asc
     */
    @ApiModelProperty(value = "排序的方向", example = "asc,desc")
    private String isAsc;

}
